<template>
  <h3 class="MyTitle3">
    <slot></slot>
  </h3>
</template>

<script>
export default {
  name: "DyTitle3",
  props: ["title"],
};
</script>

<style>
.MyTitle3 {
  border-left: 3.5px solid var(--mainColor);
  padding-left: 10px;
  padding-top: 6px;
  padding-bottom: 6px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all .3s linear;
  -moz-transition: all .3s linear;
  -webkit-transition: all .3s linear;
}

.MyTitle3:hover {
  border-radius: 1em;
  box-shadow: 0 0 5px   var(--shadowColor), 
              0 0 25px  var(--shadowColor),
              0 0 50px  var(--shadowColor), 
              0 0 200px var(--shadowColor);
  background-color: var(--mainColor);
  color: white;
  padding: 10px;
  transition: all .3s linear;
  -moz-transition: all .3s linear;
  -webkit-transition: all .3s linear;
}
</style>